package com.abysscore.yachtdesign.view;

import java.awt.Color;
import java.awt.Toolkit;

import javax.swing.JFrame;

public class FreeShipFrame extends JFrame {
	public FreeShipFrame()
	  {
	    // no adornments on the mainframe
	    this.setUndecorated(false);
	    this.setResizable(true);
	    
	    // all gray
	    this.getContentPane().setBackground(Color.lightGray);

	    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        //add(new JPanel() {

	    // fill the screen
	    setPreferredSize(Toolkit.getDefaultToolkit().getScreenSize());
	    //setMinimumSize(Toolkit.getDefaultToolkit().getScreenSize());
	  }
}
